diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj b/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj index 1e3cfcb..bf7f0b0 100644 --- a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj +++ b/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.csproj @@ -3,7 +3,6 @@ Build-time references required to enable Razor view compilation as part of building the application. netcoreapp2.0;net461 - netcoreapp2.0 cshtml;razor;compilation;precompilation;aspnetcore true @@ -11,6 +10,7 @@ ..\Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.Tasks\ false false + $(MSBuildProjectName).nuspec @@ -31,17 +31,6 @@ - - - - - - - - - - - + + + + + + true + + + id=$(PackageId); + version=$(PackageVersion); + authors=$(Authors); + description=$(Description); + tags=$(PackageTags.Replace(';', ' ')); + licenseUrl=$(PackageLicenseUrl); + projectUrl=$(PackageProjectUrl); + iconUrl=$(PackageIconUrl); + repositoryUrl=$(RepositoryUrl); + repositoryCommit=$(RepositoryCommit); + copyright=$(Copyright); + AssemblyName=$(AssemblyName); + + OutputBinary=$(OutputPath)netcoreapp2.0\$(AssemblyName).dll; + OutputSymbol=$(OutputPath)netcoreapp2.0\$(AssemblyName).pdb; + TaskBinary=$(TasksProjectDirectory)bin\$(Configuration)\netstandard2.0\$(AssemblyName).Tasks.dll; + TaskSymbol=$(TasksProjectDirectory)bin\$(Configuration)\netstandard2.0\$(AssemblyName).Tasks.pdb; + + OutputExeX86=$(OutputPath)net461\win7-x86\$(AssemblyName)-x86.exe; + OutputExeSymbolX86=$(OutputPath)net461\win7-x86\$(AssemblyName)-x86.pdb; + OutputExeX64=$(OutputPath)net461\win7-x64\$(AssemblyName)-x64.exe; + OutputExeSymbolX64=$(OutputPath)net461\win7-x64\$(AssemblyName)-x64.pdb; + + + diff --git a/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec b/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec new file mode 100644 index 0000000..b6c0bf4 --- /dev/null +++ b/src/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation/Microsoft.AspNetCore.Mvc.Razor.ViewCompilation.nuspec @@ -0,0 +1,38 @@ + + + + $id$ + $version$ + $authors$ + true + $licenseUrl$ + $projectUrl$ + $iconUrl$ + $description$ + $copyright$ + $tags$ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file