File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11<Project Sdk =" Microsoft.NET.Sdk" >
22 <PropertyGroup >
3- <Version >0.1.0 </Version >
3+ <Version >0.1.1 </Version >
44 <Description >Load environment variables from Azure Developer CLI environment</Description >
55 <Authors >
66 Heath Stewart (https://github.com/heaths)
77 </Authors >
8+ <PackageLicenseExpression >MIT</PackageLicenseExpression >
9+ <PackageReadmeFile >README.md</PackageReadmeFile >
810 </PropertyGroup >
911 <PropertyGroup >
1012 <TargetFrameworks >net8.0;netstandard2.0</TargetFrameworks >
1618 <PackageReference Include =" dotenv.net" Version =" 4.0.0" />
1719 <PackageReference Include =" System.Text.Json" Version =" 9.0.8" />
1820 </ItemGroup >
19- <Target Name =" WriteBuildGitHubOutput" AfterTargets =" Build" >
21+ <ItemGroup >
22+ <None Include =" ../README.md" Pack =" true" PackagePath =" /" />
23+ </ItemGroup >
24+ <Target Name =" WriteBuildGitHubOutput" AfterTargets =" Build" >
2025 <ItemGroup >
21- <_Variable Include =" TargetName=$(TargetName)" Condition =" '$(TargetFramework)' == 'net8.0'" />
26+ <_Variable Include =" TargetName=$(TargetName)" Condition =" '$(TargetFramework)' == 'net8.0'" />
2227 </ItemGroup >
2328 <WriteLinesToFile
2429 Condition =" '$(GITHUB_OUTPUT)' != ''"
2732 Overwrite =" false"
2833 />
2934 </Target >
30- <Target Name =" WritePackGitHubOutput" AfterTargets =" Pack" >
35+ <Target Name =" WritePackGitHubOutput" AfterTargets =" Pack" >
3136 <ItemGroup >
32- <_Variable Include =" PackageId=$(PackageId)" />
33- <_Variable Include =" PackageVersion=$(PackageVersion)" />
37+ <_Variable Include =" PackageId=$(PackageId)" />
38+ <_Variable Include =" PackageVersion=$(PackageVersion)" />
3439 </ItemGroup >
3540 <WriteLinesToFile
3641 Condition =" '$(GITHUB_OUTPUT)' != ''"
Original file line number Diff line number Diff line change @@ -7,6 +7,12 @@ Locate and load environment variables defined when provisioning an [Azure Develo
77
88## Getting Started
99
10+ Add a package reference to [ ` DotAzure ` ] ( https://www.nuget.org/packages/DotAzure ) for .NET SDK-style projects:
11+
12+ ``` sh
13+ dotnet add package DotAzure
14+ ```
15+
1016If you do not already have an [ Azure Developer CLI] (azd) project, you can create one:
1117
1218``` sh
You can’t perform that action at this time.
0 commit comments