-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bumps [Fody](https://github.com/Fody/Fody) from 6.5.1 to 6.8.0. - [Release notes](https://github.com/Fody/Fody/releases) - [Commits](Fody/Fody@6.5.1...6.8.0) --- updated-dependencies: - dependency-name: Fody dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]>
- Loading branch information
1 parent
4db08f6
commit 8b2d0ea
Showing
2 changed files
with
53 additions
and
1 deletion.
There are no files selected for viewing
Submodule UndertaleModTool
deleted from
2f0e66
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<Project Sdk="Microsoft.NET.Sdk"> | ||
<PropertyGroup> | ||
<TargetFramework>net6.0</TargetFramework> | ||
<OutputType>Library</OutputType> | ||
<!-- TODO: this should properly get migrated and get rid of --> | ||
<GenerateAssemblyInfo>false</GenerateAssemblyInfo> | ||
<DebugType>embedded</DebugType> | ||
<Platforms>AnyCPU;x64</Platforms> | ||
<RuntimeIdentifiers>win-x64;win-x86</RuntimeIdentifiers> | ||
<AllowUnsafeBlocks>true</AllowUnsafeBlocks> | ||
<!-- Suppress all missing XML comment warnings --> | ||
<NoWarn>1591</NoWarn> | ||
</PropertyGroup> | ||
<PropertyGroup> | ||
<StartupObject /> | ||
<GeneratePackageOnBuild>true</GeneratePackageOnBuild> | ||
<GenerateDocumentationFile>True</GenerateDocumentationFile> | ||
</PropertyGroup> | ||
<ItemGroup> | ||
<PackageReference Include="Fody" Version="6.5.1"> | ||
<PrivateAssets>all</PrivateAssets> | ||
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets> | ||
</PackageReference> | ||
<PackageReference Include="Microsoft.CSharp" Version="4.7.0" /> | ||
<PackageReference Include="PropertyChanged.Fody" Version="4.1.0" /> | ||
<PackageReference Include="SharpZipLib" Version="1.4.2" /> | ||
<PackageReference Include="System.Drawing.Common" Version="5.0.3" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="version.txt" /> | ||
</ItemGroup> | ||
<ItemGroup> | ||
<None Remove="gitversion.txt" /> | ||
<EmbeddedResource Include="gitversion.txt" /> | ||
</ItemGroup> | ||
<!--A prebuild responsible for creating a git commit name and branch name --> | ||
<Target Name="PreBuild" BeforeTargets="PreBuildEvent"> | ||
<!--Create the gitversion.txt file first, in case any of the later commands fail --> | ||
<Exec Command="echo "" > "$(ProjectDir)/gitversion.txt"" IgnoreExitCode="true" /> | ||
|
||
<!--If on Windows check if git is in PATH--> | ||
<Exec Condition="$([MSBuild]::IsOsPlatform('Windows'))" Command="where /q git" IgnoreExitCode="true"> | ||
<Output TaskParameter="ExitCode" PropertyName="ErrorCode"/> | ||
</Exec> | ||
<PropertyGroup> | ||
<!--Assign the location of git to GitPath. By default it's "git", if the above PATH checked failed, it'll get set to the git path in VS --> | ||
<GitPath>git</GitPath> | ||
<GitPath Condition="'$(ErrorCode)'=='1'">$(DevEnvDir)\CommonExtensions\Microsoft\TeamFoundation\Team Explorer\Git\cmd\git</GitPath> | ||
</PropertyGroup> | ||
<!-- Use GitPath and put the git commit name and branch name into gitversion.txt which is an embedded resource--> | ||
<Exec Command="( "$(GitPath)" describe --always --dirty && "$(GitPath)" rev-parse --abbrev-ref HEAD ) > "$(ProjectDir)/gitversion.txt"" IgnoreExitCode="true"/> | ||
</Target> | ||
</Project> |