File tree Expand file tree Collapse file tree 11 files changed +20
-16
lines changed
Microsoft.DotNet.PackageValidation.Tests Expand file tree Collapse file tree 11 files changed +20
-16
lines changed Original file line number Diff line number Diff line change 55
55
<!-- NU1701 Disable implicit package target fallback, and disable warning for when we explicitly add it (currently needed for
56
56
Microsoft.ApplicationInsights) -->
57
57
<!-- NU1507 Disable multi-feed check as .NET uses multiple internal feeds intentionally -->
58
- <NoWarn >$(NoWarn);NU1701;NU1507;NU1202</NoWarn >
58
+ <!-- NU5039 Disable NuGet is unable to find the readme file in the package. -->
59
+ <NoWarn >$(NoWarn);NU1701;NU1507;NU1202;NU5039</NoWarn >
59
60
<!-- do not enable analyzers on source build-->
60
61
<EnforceCodeStyleInBuild Condition =" '$(DotNetBuildSourceOnly)' != 'true'" >true</EnforceCodeStyleInBuild >
61
62
<UseSharedCompilation Condition =" '$(DotNetBuildSourceOnly)' == 'true'" >false</UseSharedCompilation >
Original file line number Diff line number Diff line change 271
271
</Folder >
272
272
<Folder Name =" /src/Workloads/" />
273
273
<Folder Name =" /src/Workloads/Manifests/" >
274
- <Project Path =" src/Workloads/Manifests/manifest-packages.proj " Type = " C# " />
274
+ <Project Path =" src/Workloads/Manifests/manifest-packages.csproj " />
275
275
</Folder >
276
276
<Folder Name =" /src/Workloads/VSInsertion/" >
277
277
<Project Path =" src/Workloads/VSInsertion/workloads.csproj" />
Original file line number Diff line number Diff line change 63
63
<ProjectReference Include =" tools\tool_msbuild.csproj" />
64
64
<ProjectReference Include =" tools\tool_nuget.csproj" />
65
65
<ProjectReference Include =" ..\..\Cli\dotnet\dotnet.csproj" />
66
- <ProjectReference Include =" ..\..\Workloads\Manifests\manifest-packages.proj " ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" />
66
+ <ProjectReference Include =" ..\..\Workloads\Manifests\manifest-packages.csproj " ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" />
67
67
<ProjectReference Include =" ..\..\Tasks\Microsoft.NET.Build.Tasks\Microsoft.NET.Build.Tasks.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" />
68
68
<ProjectReference Include =" ..\..\Tasks\Microsoft.NET.Build.Extensions.Tasks\Microsoft.NET.Build.Extensions.Tasks.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" />
69
69
<ProjectReference Include =" ..\..\Resolvers\Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver\Microsoft.NET.Sdk.WorkloadMSBuildSdkResolver.csproj" />
70
70
<ProjectReference Include =" $(RepoRoot)src\BuiltInTools\dotnet-watch\dotnet-watch.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
71
- <ProjectReference Include =" $(RepoRoot)src\BuiltInTools\dotnet-format\dotnet-format.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
71
+ <ProjectReference Include =" $(RepoRoot)src\BuiltInTools\dotnet-format\dotnet-format.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
72
72
73
73
<ProjectReference Include =" $(RepoRoot)template_feed\*\*.csproj" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
74
74
</ItemGroup >
75
75
76
76
<ItemGroup >
77
- <ProjectReference Include =" ..\finalizer\finalizer.csproj" Condition =" '$(OS)' == 'Windows_NT'" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
77
+ <ProjectReference Include =" ..\finalizer\finalizer.csproj" Condition =" '$(OS)' == 'Windows_NT'" ReferenceOutputAssembly =" false" SkipGetTargetFrameworkProperties =" true" Private =" false" />
78
78
</ItemGroup >
79
79
80
80
<!-- In .NET product build mode, explicitly build workloads in build pass 2.
Original file line number Diff line number Diff line change 108
108
<Copy SourceFiles =" @(ManifestContent)"
109
109
DestinationFolder =" $(RedistInstallerLayoutPath)sdk-manifests/%(DestinationPath)" />
110
110
111
- <MSBuild Projects =" $(RepoRoot)src\Workloads\Manifests\manifest-packages.proj "
111
+ <MSBuild Projects =" $(RepoRoot)src\Workloads\Manifests\manifest-packages.csproj "
112
112
Targets =" LayoutBuiltinManifests"
113
113
Properties =" ManifestDirectory=$(RedistInstallerLayoutPath)sdk-manifests\" />
114
114
</Target >
Original file line number Diff line number Diff line change 104
104
<Output TaskParameter =" GeneratedGuid" PropertyName =" SdkInstallerUpgradeCode" />
105
105
</GenerateGuidFromName >
106
106
107
- <Exec Command =" powershell -NoProfile -NoLogo $(SdkGenerateMsiPowershellScript) ^
107
+ <Exec Command =" powershell -NoProfile -NoLogo -ExecutionPolicy Bypass $(SdkGenerateMsiPowershellScript) ^
108
108
'$(IntermediateSdkInstallerOutputPath.TrimEnd('\'))' ^
109
109
'$(SdkMSIInstallerFile)' ^
110
110
'$(WixRoot)' ^
150
150
<Output TaskParameter =" GeneratedGuid" PropertyName =" SdkPlaceholderInstallerUpgradeCode" />
151
151
</GenerateGuidFromName >
152
152
153
- <Exec Command =" powershell -NoProfile -NoLogo $(SdkPlaceholderGenerateMsiPowershellScript) ^
153
+ <Exec Command =" powershell -NoProfile -NoLogo -ExecutionPolicy Bypass $(SdkPlaceholderGenerateMsiPowershellScript) ^
154
154
'$(SdkPlaceholderMSIInstallerFile)' ^
155
155
'$(WixRoot)' ^
156
156
'$(SdkBrandName)' ^
186
186
DependsOnTargets =" GenerateInstallerLayout;AcquireWix;MsiTargetsSetupInputOutputs;SetupTemplatesMsis"
187
187
Inputs =" @(TemplatesMsiComponent);$(TemplatesGenerateMsiPowershellScript)"
188
188
Outputs =" %(TemplatesMsiComponent.MSIInstallerFile)" >
189
- <Exec Command =" powershell -NoProfile -NoLogo $(TemplatesGenerateMsiPowershellScript) ^
189
+ <Exec Command =" powershell -NoProfile -NoLogo -ExecutionPolicy Bypass $(TemplatesGenerateMsiPowershellScript) ^
190
190
'%(TemplatesMsiComponent.LayoutPath)' ^
191
191
'%(TemplatesMsiComponent.MSIInstallerFile)' ^
192
192
'$(WixRoot)' ^
322
322
<Output TaskParameter =" GeneratedGuid" PropertyName =" CombinedFrameworkSDKHostInstallerUpgradeCode" />
323
323
</GenerateGuidFromName >
324
324
325
- <Exec Command =" powershell -NoProfile -NoLogo $(SdkGenerateBundlePowershellScript) ^
325
+ <Exec Command =" powershell -NoProfile -NoLogo -ExecutionPolicy Bypass $(SdkGenerateBundlePowershellScript) ^
326
326
-UpgradePoliciesWxsFile '$(UpgradePoliciesSrcPath)' ^
327
327
-WorkloadManifestWxsFile '$(WorkloadManifestsWxsPath)' ^
328
328
-CLISDKMSIFile '$(SdkMSIInstallerFile)' ^
Original file line number Diff line number Diff line change 37
37
<Using Include =" Microsoft.Build.Utilities.Task" Alias =" Task" />
38
38
</ItemGroup >
39
39
40
+ <Target Name =" GetTargetPath" />
41
+
40
42
</Project >
Original file line number Diff line number Diff line change 23
23
24
24
<PropertyGroup >
25
25
<!-- NU5128: This package doesn't contain any lib or ref assemblies because it's a tooling package. -->
26
- <NoWarn >$(NoWarn);NU5128</NoWarn >
26
+ <!-- NU5039: NuGet is unable to find the readme file in the package. -->
27
+ <NoWarn >$(NoWarn);NU5128;NU5039</NoWarn >
27
28
</PropertyGroup >
28
29
29
30
<ItemGroup >
File renamed without changes.
Original file line number Diff line number Diff line change 28
28
29
29
<ItemGroup >
30
30
<!-- In .NET product build mode in the second build pass, there's no need to build the manifests since they're already downloaded from another vertical -->
31
- <ProjectReference Include =" $(RepoRoot)\src\Workloads\Manifests\manifest-packages.proj " ReferenceOutputAssembly =" false" Condition =" '$(DotNetBuild)' != 'true'" />
31
+ <ProjectReference Include =" $(RepoRoot)\src\Workloads\Manifests\manifest-packages.csproj " ReferenceOutputAssembly =" false" Condition =" '$(DotNetBuild)' != 'true'" />
32
32
</ItemGroup >
33
33
34
34
<ItemGroup Condition =" '$(BuildWorkloads)' == 'true'" >
Original file line number Diff line number Diff line change 10
10
11
11
<PropertyGroup >
12
12
<ExcludeFromSourceOnlyBuild >true</ExcludeFromSourceOnlyBuild >
13
- <NoWarn >$(NoWarn);NU5125</NoWarn >
14
13
15
- <!-- Don't warn about long filenames in packages, we bundle test assets that have long paths
14
+ <!-- NU5125 The licenseUrl element is being replaced by the license element. -->
15
+ <!-- NU5123 Don't warn about long filenames in packages, we bundle test assets that have long paths
16
16
(ie HelloWorldWithSubDirs) -->
17
- <NoWarn >$(NoWarn);NU5123</NoWarn >
17
+ <NoWarn >$(NoWarn);NU5125; NU5123</NoWarn >
18
18
19
19
<GenerateProgramFile >false</GenerateProgramFile >
20
20
You can’t perform that action at this time.
0 commit comments