Skip to content

Instantly share code, notes, and snippets.

@Unknown6656
Last active November 30, 2023 12:00
Show Gist options
  • Save Unknown6656/92abc73af8c9999e9417ae8027cffba7 to your computer and use it in GitHub Desktop.
Save Unknown6656/92abc73af8c9999e9417ae8027cffba7 to your computer and use it in GitHub Desktop.
Template for C# .NET6 project files
<Project Sdk="Microsoft.NET.Sdk">
<PropertyGroup>
<TargetFramework>net8.0</TargetFramework>
<LangVersion>preview</LangVersion>
<EnablePreviewFeatures>True</EnablePreviewFeatures>
<!-- <GenerateRequiresPreviewFeaturesAttribute>False</GenerateRequiresPreviewFeaturesAttribute> -->
<Nullable>enable</Nullable>
<NullableContextOptions>enable</NullableContextOptions>
<AllowUnsafeBlocks>true</AllowUnsafeBlocks>
<OutputType><!-- TODO --></OutputType>
<OutputPath>$(SolutionDir)bin</OutputPath>
<Deterministic>true</Deterministic>
<IsPackable>true</IsPackable>
<!-- <TrimMode>Link</TrimMode> -->
<!-- <PublishTrimmed>true</PublishTrimmed> -->
<AutoGenerateBindingRedirects>false</AutoGenerateBindingRedirects>
<ProduceReferenceAssembly>false</ProduceReferenceAssembly>
<GenerateSerializationAssemblies>Auto</GenerateSerializationAssemblies>
<DisableWinExeOutputInference>true</DisableWinExeOutputInference>
<AppendTargetFrameworkToOutputPath>false</AppendTargetFrameworkToOutputPath>
<AppendRuntimeIdentifierToOutputPath>false</AppendRuntimeIdentifierToOutputPath>
<GeneratePackageOnBuild>true</GeneratePackageOnBuild>
<SatelliteResourceLanguages>en</SatelliteResourceLanguages>
<Authors>Unknown6656</Authors>
<Company>Unknown6656</Company>
<Product><!-- TODO --> by Unknown6656</Product>
<Description><!-- TODO --> </Description>
<Copyright>Copyright © <!-- TODO -->-$([System.DateTime]::Today.ToString(yyyy)), unknown6656</Copyright>
<PackageProjectUrl>https://github.com/unknown6656/<!-- TODO --></PackageProjectUrl>
<RepositoryUrl>https://github.com/Unknown6656/<!-- TODO --></RepositoryUrl>
<PackageIcon>unknown6656-logo-1024.png</PackageIcon>
<PackageTags>unknown6656;<!-- TODO --></PackageTags>
<PackageId>Unknown6656.<!-- TODO --></PackageId>
<IncludeSymbols>true</IncludeSymbols>
<EmbedUntrackedSources>true</EmbedUntrackedSources>
<SymbolPackageFormat>snupkg</SymbolPackageFormat>
<RepositoryType>Git</RepositoryType>
<Version>$([System.IO.File]::ReadAllText("$(SolutionDir)version.txt"))</Version>
<PackageVersion>$([System.IO.File]::ReadAllText("$(SolutionDir)version.txt"))</PackageVersion>
<AssemblyVersion>$([System.IO.File]::ReadAllText("$(SolutionDir)version.txt"))</AssemblyVersion>
</PropertyGroup>
<ItemGroup>
<None Include="C:/Users/unknown6656/Pictures/unknown6656/unknown6656-logo-1024.png">
<Pack>True</Pack>
<PackagePath></PackagePath>
</None>
</ItemGroup>
<ItemGroup>
<Compile Remove="old\**" />
<EmbeddedResource Remove="old\**" />
<None Remove="old\**" />
</ItemGroup>
</Project>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment