diff --git a/Directory.Build.props b/Directory.Build.props index 076c3bf2f79d7..743b9e3575335 100644 --- a/Directory.Build.props +++ b/Directory.Build.props @@ -1,5 +1,5 @@ - + diff --git a/Directory.Build.targets b/Directory.Build.targets index 5065a4dc81af2..cf98ae9662f0d 100644 --- a/Directory.Build.targets +++ b/Directory.Build.targets @@ -1,4 +1,4 @@ - + diff --git a/build/Targets/BeforeCommonTargets.targets b/build/Targets/BeforeCommonTargets.targets index 076c3bf2f79d7..fca3823307af1 100644 --- a/build/Targets/BeforeCommonTargets.targets +++ b/build/Targets/BeforeCommonTargets.targets @@ -1,5 +1,111 @@ + + + + + <_IsAnyUnitTest>true + <_NeedRuntimeAssets>true + true + $(OutputPath)UnitTests\$(MSBuildProjectName)\ + + + + + <_CopyReferences>false + <_NeedRuntimeAssets>true + true + $(OutputPath)Vsix\$(MSBuildProjectName)\ + + + + + + + + <_CopyReferences>false + <_CopyProjectReferences>false + false + $(OutputPath)Dlls\$(MSBuildProjectName)\ + true + + + + + <_NeedRuntimeAssets>true + true + $(OutputPath)Exes\$(MSBuildProjectName)\ + true + + + + + <_NeedRuntimeAssets>true + true + $(OutputPath)Exes\$(MSBuildProjectName)\ + true + + + + + + + $(AssemblyName).xml + true + + + + $(IntermediateOutputPath)$(TargetFramework.ToLowerInvariant())\ + $(OutputPath)$(TargetFramework.ToLowerInvariant())\ + + + + + + + + + + _RunCodeAnalysisRules + + + + + _BuildRules + + + + + + $(MSBuildThisFileDirectory)..\Rulesets\NonShippingProject$(DefaultRulesetSuffix).ruleset + $(MSBuildThisFileDirectory)..\Rulesets\AnalyzerProject$(DefaultRulesetSuffix).ruleset + $(MSBuildThisFileDirectory)..\Rulesets\Roslyn$(DefaultRulesetSuffix).ruleset + + + + + + + false + false + true + $(NuGetPackageRoot)\Microsoft.NetFX20\$(MicrosoftNetFX20Version)\lib\net20 + false + CurrentRuntime + + diff --git a/build/Targets/Imports.targets b/build/Targets/Imports.targets index a812de52c3b34..29eceff865d9c 100644 --- a/build/Targets/Imports.targets +++ b/build/Targets/Imports.targets @@ -2,66 +2,6 @@ - - - - <_IsAnyUnitTest>true - <_NeedRuntimeAssets>true - true - $(OutputPath)UnitTests\$(MSBuildProjectName)\ - - - - - <_CopyReferences>false - <_NeedRuntimeAssets>true - true - $(OutputPath)Vsix\$(MSBuildProjectName)\ - - - - - - - - <_CopyReferences>false - <_CopyProjectReferences>false - false - $(OutputPath)Dlls\$(MSBuildProjectName)\ - true - - - - - <_NeedRuntimeAssets>true - true - $(OutputPath)Exes\$(MSBuildProjectName)\ - true - - - - - <_NeedRuntimeAssets>true - true - $(OutputPath)Exes\$(MSBuildProjectName)\ - true - - - - - - - $(AssemblyName).xml - true - 0024000004800000940000000602000000240000525341310004000001000100b5fc90e7027f67871e773a8fde8938c81dd402ba65b9201d60593e96c492651e889cc13f1415ebb53fac1131ae0bd333c5ee6021672d9718ea31a8aebd0da0072f25d87dba6fc90ffd598ed4da35e44c398c454307e8e33b8426143daec9f596836f97c8f74750e5975c64e2189f45def46b2a2b1247adc3652bf5c308055da9 @@ -82,8 +22,6 @@ true - false - false @@ -96,31 +34,6 @@ - - - - - - - - _RunCodeAnalysisRules - - - - - _BuildRules - - - - - - $(MSBuildThisFileDirectory)..\Rulesets\NonShippingProject$(DefaultRulesetSuffix).ruleset - $(MSBuildThisFileDirectory)..\Rulesets\AnalyzerProject$(DefaultRulesetSuffix).ruleset - $(MSBuildThisFileDirectory)..\Rulesets\Roslyn$(DefaultRulesetSuffix).ruleset - - - - @@ -208,8 +121,6 @@ - - - - false - false - true - $(NuGetPackageRoot)\Microsoft.NetFX20\$(MicrosoftNetFX20Version)\lib\net20 - false - CurrentRuntime - - $([System.Environment]::ExpandEnvironmentVariables("%VS$(VisualStudioReferenceMajorVersion)0COMNTOOLS%")) $(DevEnvDir)\..\IDE @@ -211,8 +199,6 @@ AssemblyFile="$(NuGetPackageRoot)\Roslyn.Build.Util\$(RoslynBuildUtilVersion)\lib\net46\Roslyn.MSBuild.Util.dll" Condition="'$(OS)' == 'Windows_NT'" /> - - diff --git a/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj b/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj index d3d9794cb4894..bb97ee47d616b 100644 --- a/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj +++ b/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.swixproj @@ -10,6 +10,8 @@ $(OutputPath)Vsix\CodeAnalysisCompilers true vsix + false + false diff --git a/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj b/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj index 4da6302d5f1a0..90d01af36681b 100644 --- a/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj +++ b/src/Setup/DevDivVsix/CompilersPackage/Microsoft.CodeAnalysis.Compilers.vsmanproj @@ -10,6 +10,8 @@ true false false + false + false diff --git a/src/Setup/DevDivVsix/MicrosoftCodeAnalysisLanguageServices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj b/src/Setup/DevDivVsix/MicrosoftCodeAnalysisLanguageServices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj index 933e6ad67e188..bbf0554d49f7d 100644 --- a/src/Setup/DevDivVsix/MicrosoftCodeAnalysisLanguageServices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj +++ b/src/Setup/DevDivVsix/MicrosoftCodeAnalysisLanguageServices/Microsoft.CodeAnalysis.LanguageServices.vsmanproj @@ -10,6 +10,8 @@ true false false + false + false diff --git a/src/Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj b/src/Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj index 94217877cf0c2..7c057ca15a304 100644 --- a/src/Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj +++ b/src/Setup/DevDivVsix/PortableFacades/PortableFacades.swixproj @@ -9,6 +9,8 @@ $(OutputPath)\Vsix\PortableFacades true vsix + false + false diff --git a/src/Setup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj b/src/Setup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj index 427dc302302ee..76d6992e448ec 100644 --- a/src/Setup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj +++ b/src/Setup/DevDivVsix/PortableFacades/PortableFacades.vsmanproj @@ -10,6 +10,8 @@ true false false + false + false diff --git a/src/Tools/ILAsm/Program.cs b/src/Tools/ILAsm/Program.cs new file mode 100644 index 0000000000000..f289d4dc1cee8 --- /dev/null +++ b/src/Tools/ILAsm/Program.cs @@ -0,0 +1,9 @@ +using System; + +internal static class Program +{ + internal static void Main() + { + throw new Exception("This should not be run"); + } +} diff --git a/src/Workspaces/VisualBasicTest/VisualBasicServicesTest.vbproj b/src/Workspaces/VisualBasicTest/VisualBasicServicesTest.vbproj index 4c62f65883eac..e73939b4fc533 100644 --- a/src/Workspaces/VisualBasicTest/VisualBasicServicesTest.vbproj +++ b/src/Workspaces/VisualBasicTest/VisualBasicServicesTest.vbproj @@ -13,6 +13,7 @@ net461 $(RoslynDesktopRuntimeIdentifier) UnitTest +