diff --git a/Source/MonoGame.Penumbra.DesktopGL.csproj b/Source/MonoGame.Penumbra.DesktopGL.csproj index cc72798..33aa644 100644 --- a/Source/MonoGame.Penumbra.DesktopGL.csproj +++ b/Source/MonoGame.Penumbra.DesktopGL.csproj @@ -20,8 +20,8 @@ true full false - bin\Debug\ - bin\Debug\MonoGame.Penumbra.xml + bin\Debug\DesktopGL\ + bin\Debug\DesktopGL\MonoGame.Penumbra.xml TRACE;DEBUG;MONOGAME;DESKTOPGL prompt 4 @@ -32,8 +32,8 @@ pdbonly true - bin\Release\ - bin\Release\MonoGame.Penumbra.xml + bin\Release\DesktopGL\ + bin\Release\DesktopGL\MonoGame.Penumbra.xml TRACE;MONOGAME;DESKTOPGL prompt 4 diff --git a/Source/MonoGame.Penumbra.WindowsDX.csproj b/Source/MonoGame.Penumbra.WindowsDX.csproj index e005a3a..8f89add 100644 --- a/Source/MonoGame.Penumbra.WindowsDX.csproj +++ b/Source/MonoGame.Penumbra.WindowsDX.csproj @@ -20,8 +20,8 @@ true full false - bin\Debug\ - bin\Debug\MonoGame.Penumbra.xml + bin\Debug\WindowsDX\ + bin\Debug\WindowsDX\MonoGame.Penumbra.xml TRACE;DEBUG;MONOGAME;WINDOWSDX prompt 4 @@ -32,8 +32,8 @@ pdbonly true - bin\Release\ - bin\Release\MonoGame.Penumbra.xml + bin\Release\WindowsDX\ + bin\Release\WindowsDX\MonoGame.Penumbra.xml TRACE;MONOGAME;WINDOWSDX prompt 4 diff --git a/Tools/MonoGame.Penumbra.DesktopGL.nuspec b/Tools/MonoGame.Penumbra.DesktopGL.nuspec new file mode 100644 index 0000000..c08c4eb Binary files /dev/null and b/Tools/MonoGame.Penumbra.DesktopGL.nuspec differ diff --git a/Tools/MonoGame.Penumbra.WindowsDX.nuspec b/Tools/MonoGame.Penumbra.WindowsDX.nuspec index 45f5b4b..41f6f27 100644 Binary files a/Tools/MonoGame.Penumbra.WindowsDX.nuspec and b/Tools/MonoGame.Penumbra.WindowsDX.nuspec differ diff --git a/Tools/PublishNuget.ps1 b/Tools/PublishNuget.ps1 index 8306b10..758cd51 100644 --- a/Tools/PublishNuget.ps1 +++ b/Tools/PublishNuget.ps1 @@ -1,5 +1,6 @@ # Define variables. -$id = 'MonoGame.Penumbra.WindowsDX' +$idWindowsDX = 'MonoGame.Penumbra.WindowsDX' +$idDesktopGL = 'MonoGame.Penumbra.DesktopGL' $nuspecSuffix = '.nuspec' $nupkgSuffix = '.nupkg' @@ -25,12 +26,15 @@ Function GetNupkgFilename($id) # Replace version numbers in nuspec files. Write-Host Replacing version numbers -UpdateVersionInFile (GetNuspecFilename $id) $versionRegex $newVersion +UpdateVersionInFile (GetNuspecFilename $idWindowsDX) $versionRegex $newVersion +UpdateVersionInFile (GetNuspecFilename $idDesktopGL) $versionRegex $newVersion # Create nuget packages with symbol packages. Write-Host Creating packages -.\nuget pack (GetNuspecFilename $id) -symbols +.\nuget pack (GetNuspecFilename $idWindowsDX) -symbols +.\nuget pack (GetNuspecFilename $idDesktopGL) -symbols # Publish nuget packages to nuget.org and symbol packages to symbolsource.org Write-Host Publishing packages -.\nuget push (GetNupkgFilename $id) -Source https://www.nuget.org/api/v2/package \ No newline at end of file +.\nuget push (GetNupkgFilename $idWindowsDX) -Source https://www.nuget.org/api/v2/package +.\nuget push (GetNupkgFilename $idDesktopGL) -Source https://www.nuget.org/api/v2/package \ No newline at end of file