You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ConsoleApp sample does not compile right out of the box. I would expect it to compile and guide to how to configure
client
WebAPI (Default)
Relevant log output
C:\code\carbon-aware-sdk\samples\lib-integration\ConsoleApp> dotnet run
C:\code\carbon-aware-sdk\samples\lib-integration\ConsoleApp\Program.cs(1,7): error CS0246: The type or namespace name 'GSF' could not be found (are you missing a using directive or an assembly reference?) [C:\code\carbon-aware-sdk\samples
\lib-integration\ConsoleApp\ConsoleApp.csproj]
C:\code\carbon-aware-sdk\samples\lib-integration\ConsoleApp\Program.cs(2,7): error CS0246: The type or namespace name 'GSF' could not be found (are you missing a using directive or an assembly reference?) [C:\code\carbon-aware-sdk\samples
\lib-integration\ConsoleApp\ConsoleApp.csproj]
C:\code\carbon-aware-sdk\samples\lib-integration\ConsoleApp\Program.cs(3,7): error CS0246: The type or namespace name 'GSF' could not be found (are you missing a using directive or an assembly reference?) [C:\code\carbon-aware-sdk\samples
\lib-integration\ConsoleApp\ConsoleApp.csproj]
The build failed. Fix the build errors and run again.
Code of Conduct
I agree to follow this project's Code of Conduct
The text was updated successfully, but these errors were encountered:
@Lybecker - Seems like this is something to do with a misconfigured reference in the csproj of that example. As that example isn't actively in use in the library, this, shouldn't be a showstopper but it's still annoying and we should fix it.
Okay. For ease of use for the consumer, I would expect to be able to compile and execute the code right away. If you do not include the project reference, make it very clear which assembly to link to
Sounds good. We will enhance the current documentation. Thanks for the feedback.
juzuluag
changed the title
[Bug]: ConsoleApp does not compile
[Bug]: Enhance packaging.md to include how to run, build and consume the ConsoleApp using GSF.CarbonAware library.
Jan 4, 2023
juzuluag
changed the title
[Bug]: Enhance packaging.md to include how to run, build and consume the ConsoleApp using GSF.CarbonAware library.
Enhance packaging.md to include how to run, build and consume the ConsoleApp using GSF.CarbonAware library.
Jan 6, 2023
Contact Details
anlybeck@microsoft.com
What happened?
The ConsoleApp sample does not compile right out of the box. I would expect it to compile and guide to how to configure
client
WebAPI (Default)
Relevant log output
Code of Conduct
The text was updated successfully, but these errors were encountered: