File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,6 +13,10 @@ set logOptions=/v:n /flp:Summary;Verbosity=diag;LogFile=msbuild.log /flp1:warnin
1313REM set logOptions=/v:diag /flp:Summary;Verbosity=diag;LogFile=msbuild.log /flp1:warningsonly;logfile=msbuild.wrn /flp2:errorsonly;logfile=msbuild.err
1414
1515%MSBUILDEXE% " %~dp0 \RoslynCodeProvider.msbuild" /t:Clean %logOptions% /maxcpucount /nodeReuse:false %cfgOption% %*
16+ rd /q /s Roslyn45
17+ rd /q /s Roslyn46
18+ rd /q /s Roslyn472
19+ rd /q /s RoslynLatest
1620del /F msbuild.log
1721del /F msbuild.wrn
1822del /F msbuild.err
Original file line number Diff line number Diff line change 1- using Microsoft . CodeDom . Providers . DotNetCompilerPlatform ;
2- using Microsoft . VisualStudio . TestTools . UnitTesting ;
1+ using System ;
32using System . CodeDom . Compiler ;
43using System . IO ;
4+ using Microsoft . CodeDom . Providers . DotNetCompilerPlatform ;
5+ using Microsoft . VisualStudio . TestTools . UnitTesting ;
56
67namespace Microsoft . CodeDom . Providers . DotNetCompilerPlatformTest {
78
@@ -17,6 +18,7 @@ public static void ClassInitialize(TestContext testContext) {
1718 string compilerPath = Path . Combine ( frameworkFolder , "csc.exe" ) ;
1819 var codeDomProviderType = typeof ( Microsoft . CodeDom . Providers . DotNetCompilerPlatform . CSharpCodeProvider ) ;
1920 csharpCodeProvider = new CSharpCodeProvider ( compilerSettings : CompilerSettingsHelper . CSC ) ;
21+ AppContext . SetSwitch ( "Switch.System.DisableTempFileCollectionDirectoryFeature" , true ) ;
2022 }
2123
2224 [ TestMethod ]
Original file line number Diff line number Diff line change 99 <AppDesignerFolder >Properties</AppDesignerFolder >
1010 <RootNamespace >Microsoft.CodeDom.Providers.DotNetCompilerPlatformTest</RootNamespace >
1111 <AssemblyName >Microsoft.CodeDom.Providers.DotNetCompilerPlatformTest</AssemblyName >
12- <TargetFrameworkVersion >v4.5 </TargetFrameworkVersion >
12+ <TargetFrameworkVersion >v4.6.2 </TargetFrameworkVersion >
1313 <FileAlignment >512</FileAlignment >
1414 <SignAssembly >true</SignAssembly >
1515 <DelaySign >true</DelaySign >
2727 <OutputPath >$(TestOutputPath)</OutputPath >
2828 <SolutionDir Condition =" $(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'" >..\</SolutionDir >
2929 <RestorePackages >true</RestorePackages >
30+ <TargetFrameworkProfile />
3031 </PropertyGroup >
3132 <PropertyGroup Condition =" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' " >
3233 <DebugSymbols >true</DebugSymbols >
Original file line number Diff line number Diff line change 2929 </PropertyGroup >
3030 </Target >
3131
32- <Target Name =" DownloadRoslynBinariesToToolsFolder" >
32+ <!-- We really only need to do this in the Packages project. It's superfluous and causing intermittent
33+ build errors in all the other projects. -->
34+ <Target Name =" DownloadRoslynBinariesToToolsFolder" Condition =" '$(MSBuildProjectExtension)' == '.nuproj'" >
3335 <DownloadRoslynBinaries NupkgToolPath =" $(NupkgToolPath)" LocalRoslyn45FolderName =" $(LocalRoslyn45FolderName)" LocalRoslyn46FolderName =" $(LocalRoslyn46FolderName)" LocalRoslyn472FolderName =" $(LocalRoslyn472FolderName)"
3436 ReferenceRoslyn45NupkgVersion =" $(MSNetCompilers45NuGetPackageVersion)" ReferenceRoslyn46NupkgVersion =" $(MSNetCompilers46NuGetPackageVersion)" ReferenceRoslyn472NupkgVersion =" $(MSNetCompilers472NuGetPackageVersion)" />
3537 </Target >
You can’t perform that action at this time.
0 commit comments