Skip to content

Commit

Permalink
feat: [OSM-955] Support for custom output paths for dotnet v2 proje…
Browse files Browse the repository at this point in the history
…cts (#5015)

* fix: bumped nuget plugin

* fix: adding acceptance test
  • Loading branch information
dotkas committed Feb 6, 2024
1 parent 3716b5d commit 6fc1d10
Show file tree
Hide file tree
Showing 8 changed files with 7,952 additions and 8 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -122,7 +122,7 @@
"snyk-module": "3.1.0",
"snyk-mvn-plugin": "3.1.0",
"snyk-nodejs-lockfile-parser": "1.52.10",
"snyk-nuget-plugin": "2.3.3",
"snyk-nuget-plugin": "2.4.0",
"snyk-php-plugin": "1.9.2",
"snyk-policy": "^1.25.0",
"snyk-python-plugin": "2.0.7",
Expand Down
@@ -0,0 +1,4 @@
bin/
obj/**
obj/**/
!*.assets.json
@@ -0,0 +1,12 @@
<Project>
<PropertyGroup>
<RepoRoot>$([System.IO.Path]::GetFullPath('$(MSBuildThisFileDirectory)'))</RepoRoot>
<ProjectRelativePath>$([MSBuild]::MakeRelative($(RepoRoot), $(MSBuildProjectDirectory)))</ProjectRelativePath>
<BaseOutputPath>$(RepoRoot)dist/$(ProjectRelativePath)</BaseOutputPath>
<OutputPath>$(BaseOutputPath)</OutputPath>
<BaseIntermediateOutputPath>$(RepoRoot)random-output/company/$(ProjectRelativePath)/obj</BaseIntermediateOutputPath>
<IntermediateOutputPath>$(BaseIntermediateOutputPath)</IntermediateOutputPath>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
</PropertyGroup>
</Project>

@@ -0,0 +1,7 @@
// See https://aka.ms/new-console-template for more information

using System;

Console.WriteLine("Hello, World!");

var client = new System.Net.Http.HttpClient();
@@ -0,0 +1,10 @@
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<OutputType>Exe</OutputType>
<TargetFramework>net8.0</TargetFramework>
<RuntimeIdentifier>linux-x64</RuntimeIdentifier>
</PropertyGroup>
<ItemGroup>
<PackageReference Include="NSubstitute" Version="4.3.0" />
</ItemGroup>
</Project>

0 comments on commit 6fc1d10

Please sign in to comment.