New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

.NET 4.7.1 support #1868

Closed
johnkors opened this Issue Oct 18, 2017 · 15 comments

Comments

Projects
None yet
7 participants
@johnkors

johnkors commented Oct 18, 2017

Similar to #1488 , but for 4.7.1.

Download: https://www.microsoft.com/en-us/download/details.aspx?id=56119

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Oct 20, 2017

Member

I assume it is related to "Visual Studio 2017 Preview" image where we should install VS 2017 15.5 with .NET 4.7.1 targeting support?

Member

FeodorFitsner commented Oct 20, 2017

I assume it is related to "Visual Studio 2017 Preview" image where we should install VS 2017 15.5 with .NET 4.7.1 targeting support?

@johnkors

This comment has been minimized.

Show comment
Hide comment
@johnkors

johnkors Oct 22, 2017

Hm, I'm just using the dotnet sdk directly, and that worked even in the 2015 image. But yeah - I guess it relates to both the 2015 and 2017 appveyor images..?

johnkors commented Oct 22, 2017

Hm, I'm just using the dotnet sdk directly, and that worked even in the 2015 image. But yeah - I guess it relates to both the 2015 and 2017 appveyor images..?

@jp2masa

This comment has been minimized.

Show comment
Hide comment
@jp2masa

jp2masa Oct 22, 2017

The .NET Framework 4.7.1 targeting pack can be installed separately, but VS 2017 15.5 will include support to target .NET Framework 4.7.1 without any additional installation.

@FeodorFitsner are there any docs about the "Visual Studio 2017 Preview" image?

jp2masa commented Oct 22, 2017

The .NET Framework 4.7.1 targeting pack can be installed separately, but VS 2017 15.5 will include support to target .NET Framework 4.7.1 without any additional installation.

@FeodorFitsner are there any docs about the "Visual Studio 2017 Preview" image?

@waynebrantley

This comment has been minimized.

Show comment
Hide comment
@waynebrantley

waynebrantley Oct 25, 2017

@FeodorFitsner You can just install 4.7.1 sdk on the normal image. Should have no impact.

waynebrantley commented Oct 25, 2017

@FeodorFitsner You can just install 4.7.1 sdk on the normal image. Should have no impact.

@FeodorFitsner FeodorFitsner added this to the next-images-update milestone Oct 26, 2017

@tompazourek

This comment has been minimized.

Show comment
Hide comment
@tompazourek

tompazourek Nov 1, 2017

I know it's only been like 2 weeks since it's been released, but is there some expected time frame for when we could start using .NET 4.7.1 with AppVeyor?

tompazourek commented Nov 1, 2017

I know it's only been like 2 weeks since it's been released, but is there some expected time frame for when we could start using .NET 4.7.1 with AppVeyor?

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Nov 1, 2017

Member

It's scheduled to the "next images update" milestone which is going to be end of this or next week.

Member

FeodorFitsner commented Nov 1, 2017

It's scheduled to the "next images update" milestone which is going to be end of this or next week.

@waynebrantley

This comment has been minimized.

Show comment
Hide comment
@waynebrantley

waynebrantley Nov 9, 2017

@FeodorFitsner Is this still expected this week sometime?

waynebrantley commented Nov 9, 2017

@FeodorFitsner Is this still expected this week sometime?

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Nov 9, 2017

Member

Yearly next week.

Member

FeodorFitsner commented Nov 9, 2017

Yearly next week.

@wongsyrone

This comment has been minimized.

Show comment
Hide comment
@wongsyrone

wongsyrone Nov 9, 2017

One naive method is:

"C:\Program Files\Git\mingw64\bin\curl" -O https://download.microsoft.com/download/9/0/1/901B684B-659E-4CBD-BEC8-B3F06967C2E7/NDP471-DevPack-ENU.exe

NDP471-DevPack-ENU.exe /q /norestart

exit /B 0

and execute this batch file on before_build hook.

wongsyrone commented Nov 9, 2017

One naive method is:

"C:\Program Files\Git\mingw64\bin\curl" -O https://download.microsoft.com/download/9/0/1/901B684B-659E-4CBD-BEC8-B3F06967C2E7/NDP471-DevPack-ENU.exe

NDP471-DevPack-ENU.exe /q /norestart

exit /B 0

and execute this batch file on before_build hook.

@waynebrantley

This comment has been minimized.

Show comment
Hide comment
@waynebrantley

waynebrantley Nov 15, 2017

@FeodorFitsner Any chance of getting this ASAP?

waynebrantley commented Nov 15, 2017

@FeodorFitsner Any chance of getting this ASAP?

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Nov 15, 2017

Member

Images are being tested right now. Will deliver them tomorrow or early Friday.

Member

FeodorFitsner commented Nov 15, 2017

Images are being tested right now. Will deliver them tomorrow or early Friday.

@felixfbecker

This comment has been minimized.

Show comment
Hide comment
@felixfbecker

felixfbecker Nov 18, 2017

Currently prevents me from using a .NET Standard 2.0 DLL in PowerShell: https://github.com/PowerShell/PowerShell/blob/master/docs/cmdlet-example/command-line-simple-example.md#using-a-net-standard-20-based-binary-module-in-windows-powershell

Import-Module : Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
At C:\projects\ps-nvm\nvm.psm1:5 char:1
+ Import-Module (Join-Path $PSScriptRoot 'SemVer.dll')
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand

felixfbecker commented Nov 18, 2017

Currently prevents me from using a .NET Standard 2.0 DLL in PowerShell: https://github.com/PowerShell/PowerShell/blob/master/docs/cmdlet-example/command-line-simple-example.md#using-a-net-standard-20-based-binary-module-in-windows-powershell

Import-Module : Could not load file or assembly 'netstandard, Version=2.0.0.0, Culture=neutral, PublicKeyToken=cc7b13ffcd2ddd51' or one of its dependencies. The system cannot find the file specified.
At C:\projects\ps-nvm\nvm.psm1:5 char:1
+ Import-Module (Join-Path $PSScriptRoot 'SemVer.dll')
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [Import-Module], FileNotFoundException
    + FullyQualifiedErrorId : System.IO.FileNotFoundException,Microsoft.PowerShell.Commands.ImportModuleCommand
@felixfbecker

This comment has been minimized.

Show comment
Hide comment
@felixfbecker

felixfbecker Nov 18, 2017

@wongsyrone your workaround didn't work for me unfortunately

Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\"
    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
Name                           Property                                                                                                                                                                                              
----                           --------                                                                                                                                                                                              
1033                           CBS           : 1                                                                                                                                                                                     
                               Install       : 1                                                                                                                                                                                     
                               Release       : 460805                                                                                                                                                                                
                               Servicing     : 0                                                                                                                                                                                     
                               TargetVersion : 4.0.0                                                                                                                                                                                 
                               Version       : 4.7.02053                                                                                                                                                                             
Invoke-WebRequest -OutFile .\NDP471-DevPack-ENU.exe https://download.microsoft.com/download/9/0/1/901B684B-659E-4CBD-BEC8-B3F06967C2E7/NDP471-DevPack-ENU.exe
.\NDP471-DevPack-ENU.exe /norestart
Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\"
    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
Name                           Property                                                                                                                                                                                              
----                           --------                                                                                                                                                                                              
1033                           CBS           : 1                                                                                                                                                                                     
                               Install       : 1                                                                                                                                                                                     
                               Release       : 460805                                                                                                                                                                                
                               Servicing     : 0                                                                                                                                                                                     
                               TargetVersion : 4.0.0                                                                                                                                                                                 
                               Version       : 4.7.02053     

felixfbecker commented Nov 18, 2017

@wongsyrone your workaround didn't work for me unfortunately

Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\"
    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
Name                           Property                                                                                                                                                                                              
----                           --------                                                                                                                                                                                              
1033                           CBS           : 1                                                                                                                                                                                     
                               Install       : 1                                                                                                                                                                                     
                               Release       : 460805                                                                                                                                                                                
                               Servicing     : 0                                                                                                                                                                                     
                               TargetVersion : 4.0.0                                                                                                                                                                                 
                               Version       : 4.7.02053                                                                                                                                                                             
Invoke-WebRequest -OutFile .\NDP471-DevPack-ENU.exe https://download.microsoft.com/download/9/0/1/901B684B-659E-4CBD-BEC8-B3F06967C2E7/NDP471-DevPack-ENU.exe
.\NDP471-DevPack-ENU.exe /norestart
Get-ChildItem "HKLM:SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full\"
    Hive: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\Full
Name                           Property                                                                                                                                                                                              
----                           --------                                                                                                                                                                                              
1033                           CBS           : 1                                                                                                                                                                                     
                               Install       : 1                                                                                                                                                                                     
                               Release       : 460805                                                                                                                                                                                
                               Servicing     : 0                                                                                                                                                                                     
                               TargetVersion : 4.0.0                                                                                                                                                                                 
                               Version       : 4.7.02053     
@wongsyrone

This comment has been minimized.

Show comment
Hide comment
@wongsyrone

wongsyrone Nov 19, 2017

@felixfbecker

It's expected. The installer requires rebooting your system to take effect. But if you do reboot, boom, everything is gone. That's why I add /norestart to the cmdline. And use exit /B 0 to cheat the CI to ignore any ERRORLEVEL set by the installer. If you do check the error code, it means you have to reboot your system.

In fact, the installer installs two components: runtime and develop modules. I just need develop modules.

wongsyrone commented Nov 19, 2017

@felixfbecker

It's expected. The installer requires rebooting your system to take effect. But if you do reboot, boom, everything is gone. That's why I add /norestart to the cmdline. And use exit /B 0 to cheat the CI to ignore any ERRORLEVEL set by the installer. If you do check the error code, it means you have to reboot your system.

In fact, the installer installs two components: runtime and develop modules. I just need develop modules.

@FeodorFitsner

This comment has been minimized.

Show comment
Hide comment
@FeodorFitsner

FeodorFitsner Nov 19, 2017

Member

.NET 4.7.1 has been deployed to build workers.

Member

FeodorFitsner commented Nov 19, 2017

.NET 4.7.1 has been deployed to build workers.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment