diff --git a/.github/workflows/veracode.yml b/.github/workflows/veracode.yml index 67fe797ca..65be482e8 100644 --- a/.github/workflows/veracode.yml +++ b/.github/workflows/veracode.yml @@ -62,13 +62,10 @@ jobs: - name: Build run: | - $configuration = "Release" $veracodesolution = "VeracodeSolution" - $veracodesolutionFileName = "VeracodeSolution.sln" - $veracodetargetframework = "net4" dotnet new sln --name $veracodesolution --output dotnet --force - dotnet msbuild dotnet\DotNetStandardClasses.sln /t:DumpProjects -p:DumpSolutionName=$veracodesolutionFileName -p:DumpSolutionTargetFramework=$veracodetargetframework /m:1 - dotnet publish dotnet\$veracodesolutionFileName --configuration $Env:BuildConfiguration -o .out -p:Publishing=true -p:SignAssembly=false + dotnet msbuild dotnet\DotNetStandardClasses.sln /t:DumpProjects -p:DumpSolutionName=$veracodesolution /m:1 + dotnet msbuild dotnet\Directory.Build.targets /t:PublishForAnalyzer -p:DumpSolutionName=$veracodesolution - name: Create package for Veracode scan shell: powershell diff --git a/.gitignore b/.gitignore index c1805e043..9c40adaa6 100644 --- a/.gitignore +++ b/.gitignore @@ -363,3 +363,4 @@ build /dotnet/src/dotnetcore/Reor/net6.0/Reor.deps.json .out /dotnet/Veracode.sln +/dotnet/VeracodeSolution.sln diff --git a/dotnet/Directory.Build.targets b/dotnet/Directory.Build.targets index e67e10465..d585c039e 100644 --- a/dotnet/Directory.Build.targets +++ b/dotnet/Directory.Build.targets @@ -13,8 +13,8 @@ - TempSolution.sln - net4 + TempSolution + net6 @@ -29,55 +29,17 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + + + \ No newline at end of file diff --git a/dotnet/src/dotnetcommon/GxCryptography/GxCryptography.csproj b/dotnet/src/dotnetcommon/GxCryptography/GxCryptography.csproj index 628826d4e..b5ffc6cc1 100644 --- a/dotnet/src/dotnetcommon/GxCryptography/GxCryptography.csproj +++ b/dotnet/src/dotnetcommon/GxCryptography/GxCryptography.csproj @@ -1,7 +1,6 @@ net462;net6.0 - net462 GxCryptography 618;1607;1698;SYSLIB0021;SYSLIB0027;SYSLIB0028;SYSLIB0023 GxCryptography diff --git a/dotnet/src/dotnetcommon/GxCryptographyCommon/GxCryptographyCommon.csproj b/dotnet/src/dotnetcommon/GxCryptographyCommon/GxCryptographyCommon.csproj index 39853323b..4b040e8f1 100644 --- a/dotnet/src/dotnetcommon/GxCryptographyCommon/GxCryptographyCommon.csproj +++ b/dotnet/src/dotnetcommon/GxCryptographyCommon/GxCryptographyCommon.csproj @@ -1,7 +1,6 @@ net462;net6.0 - net462 GxCryptographyCommon 618;1607;1698 GxCryptographyCommon diff --git a/dotnet/src/dotnetcommon/GxEncrypt/GxEncrypt.csproj b/dotnet/src/dotnetcommon/GxEncrypt/GxEncrypt.csproj index a44580b82..a46827308 100644 --- a/dotnet/src/dotnetcommon/GxEncrypt/GxEncrypt.csproj +++ b/dotnet/src/dotnetcommon/GxEncrypt/GxEncrypt.csproj @@ -1,7 +1,6 @@ - + net462;net6.0 - net462 GeneXus.Encryption GxEncrypt Encrypt64 Decrypt64 diff --git a/dotnet/src/dotnetcore/GxDataInitialization/GXDataInitialization.csproj b/dotnet/src/dotnetcore/GxDataInitialization/GXDataInitialization.csproj index 4c5da499e..7c41acaec 100644 --- a/dotnet/src/dotnetcore/GxDataInitialization/GXDataInitialization.csproj +++ b/dotnet/src/dotnetcore/GxDataInitialization/GXDataInitialization.csproj @@ -16,12 +16,6 @@ - - - true - \content\net6.0\ - - diff --git a/dotnet/src/dotnetcore/GxNetCoreStartup/GxNetCoreStartup.csproj b/dotnet/src/dotnetcore/GxNetCoreStartup/GxNetCoreStartup.csproj index fe91a110e..27fbeb856 100644 --- a/dotnet/src/dotnetcore/GxNetCoreStartup/GxNetCoreStartup.csproj +++ b/dotnet/src/dotnetcore/GxNetCoreStartup/GxNetCoreStartup.csproj @@ -28,12 +28,6 @@ - - - true - \content\net6.0\ - - diff --git a/dotnet/src/dotnetcore/Reor/Reor.csproj b/dotnet/src/dotnetcore/Reor/Reor.csproj index c0a9951e4..f02fc7005 100644 --- a/dotnet/src/dotnetcore/Reor/Reor.csproj +++ b/dotnet/src/dotnetcore/Reor/Reor.csproj @@ -1,4 +1,4 @@ - + net6.0 Exe @@ -28,10 +28,4 @@ - - - true - \content\net6.0\ - - \ No newline at end of file diff --git a/dotnet/src/extensions/Azure/Handlers/GeneXus.Deploy.AzureFunctions.Handlers.csproj b/dotnet/src/extensions/Azure/Handlers/GeneXus.Deploy.AzureFunctions.Handlers.csproj index 7eed85316..a56d42ca2 100644 --- a/dotnet/src/extensions/Azure/Handlers/GeneXus.Deploy.AzureFunctions.Handlers.csproj +++ b/dotnet/src/extensions/Azure/Handlers/GeneXus.Deploy.AzureFunctions.Handlers.csproj @@ -3,6 +3,7 @@ net6.0 Exe v4 + false