forked from rajyraman/Dataverse-LINQPad-Driver
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add 'Directory.Build.props' and lockfile
- Loading branch information
1 parent
31ca911
commit 953ae21
Showing
3 changed files
with
957 additions
and
0 deletions.
There are no files selected for viewing
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
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,58 @@ | ||
<?xml version="1.0" encoding="utf-8"?> | ||
<Project ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> | ||
<!-- Set Default Properties --> | ||
<PropertyGroup> | ||
<!-- | ||
See: https://learn.microsoft.com/en-us/visualstudio/msbuild/customize-your-build?view=vs-2022 | ||
--> | ||
<MSBuildAllProjects>$(MSBuildAllProjects);$(MSBuildThisFileFullPath)</MSBuildAllProjects> | ||
|
||
<!-- SolutionDir is not defined when building projects explicitly --> | ||
<Configuration Condition=" '$(Configuration)' == '' ">Release</Configuration> | ||
</PropertyGroup> | ||
|
||
<!-- Set Folder Variables --> | ||
<PropertyGroup> | ||
<WorkspaceFolder>$(MSBuildThisFileDirectory.TrimEnd('\/'))</WorkspaceFolder> | ||
<OutNoSlash>$(WorkspaceFolder)/bin/$(Configuration)/$(Platform)$(TargetArchitecture)</OutNoSlash> | ||
<IntNoSlash>$(WorkspaceFolder)/.build/$(MSBuildProjectName)/$(Configuration)/$(Platform)$(TargetArchitecture)</IntNoSlash> | ||
</PropertyGroup> | ||
|
||
<!-- Set Base Variables --> | ||
<PropertyGroup> | ||
<!-- SolutionDir is not defined when building projects explicitly --> | ||
<SolutionDir Condition="$(SolutionDir) == '' Or $(SolutionDir) == '*Undefined*'">$(WorkspaceFolder)</SolutionDir> | ||
<VisualStudioVersion Condition="'$(VisualStudioVersion)' == ''">10.0</VisualStudioVersion> | ||
<VSToolsPath | ||
Condition="'$(VSToolsPath)' == '' and Exists('$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)')" | ||
>$(MSBuildExtensionsPath32)/Microsoft/VisualStudio/v$(VisualStudioVersion)</VSToolsPath> | ||
</PropertyGroup> | ||
|
||
<!-- Normalize Output Paths --> | ||
<PropertyGroup> | ||
<OutputPath>$([System.IO.Path]::Combine($(OutNoSlash),$(DirectorySeparatorChar)))</OutputPath> | ||
<IntermediateOutputPath>$([System.IO.Path]::Combine($(IntNoSlash),$(DirectorySeparatorChar)))</IntermediateOutputPath> | ||
</PropertyGroup> | ||
|
||
<!-- Set Base Paths --> | ||
<PropertyGroup> | ||
<!-- | ||
We intentionally do NOT set 'OutDir' and 'IntDir' since we would rather rely on | ||
internal implementation to set these. | ||
--> | ||
<BaseOutputPath>$(OutputPath)</BaseOutputPath> | ||
<BaseIntermediateOutputPath>$(IntermediateOutputPath)</BaseIntermediateOutputPath> | ||
|
||
<DocumentationFile>$(IntNoSlash)/$(MSBuildProjectName).xml</DocumentationFile> | ||
|
||
<TransformOnBuild>true</TransformOnBuild> | ||
<OverwriteReadOnlyOutputFiles>true</OverwriteReadOnlyOutputFiles> | ||
<TransformOutOfDateOnly>true</TransformOutOfDateOnly> | ||
|
||
<DisableImplicitNuGetFallbackFolder>true</DisableImplicitNuGetFallbackFolder> | ||
<RestorePackagesWithLockFile>true</RestorePackagesWithLockFile> | ||
<Deterministic>true</Deterministic> | ||
<UseCommonOutputDirectory>false</UseCommonOutputDirectory> | ||
<AutoGenerateBindingRedirects>true</AutoGenerateBindingRedirects> | ||
</PropertyGroup> | ||
</Project> |
Oops, something went wrong.