File tree Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Expand file tree Collapse file tree 1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change 46
46
uses : NuGet/setup-nuget@v1
47
47
- name : Install .NET Framework Developer Packs
48
48
run : |
49
+ # Install .NET 4.5.2 developer pack (this should work)
49
50
choco install netfx-4.5.2-devpack -y
50
- choco install netfx-4.0.3-devpack -y
51
+
52
+ # Try .NET 4.0.3 but don't fail the build if it doesn't work
53
+ echo "Attempting to install .NET 4.0.3 developer pack..."
54
+ choco install netfx-4.0.3-devpack -y || echo "4.0.3 installation failed, continuing anyway..."
55
+
56
+ # Show what we have available
57
+ echo "Checking installed targeting packs..."
58
+ if (Test-Path "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework") {
59
+ dir "C:\Program Files (x86)\Reference Assemblies\Microsoft\Framework\.NETFramework"
60
+ }
61
+ continue-on-error : true
51
62
- name : Restore NuGet packages
52
63
run : nuget restore ./OptimizelySDK.NETFramework.sln
53
64
- name : Build & strongly name assemblies
You can’t perform that action at this time.
0 commit comments