Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Create NetStandard 2.0 library #1398

Merged

Conversation

ksjoberg
Copy link

Split the .NET library in two parts: One runtime library which targets .NET Standard 2.0 and one test library that targets .NET 6 and consumes the runtime library. This way, Xunit and other test-related libraries are not required to be deployed when referencing Look#.

It is recommended to use the lowest/oldest .NET Standard version which under which your library can execute to maximize compatibility.

In addition, add support for setting custom headers on a request-by-request basis. This is required because Looker requires the User-Agent header to be present when acquiring an embed session.

Copy link

google-cla bot commented Nov 14, 2023

Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA).

View this failed invocation of the CLA check for more information.

For the most up to date status, view the checks section at the bottom of the pull request.

@ksjoberg ksjoberg force-pushed the netstandard-lib branch 3 times, most recently from 6df113d to 91a71e2 Compare November 14, 2023 11:00
Split the library in two parts: One runtime library which targets .NET Standard 2.0 and one test library that targets .NET 6 and consumes the runtime library. This way, Xunit and other test-related libraries are not required to be deployed when referencing Look#.

It is recommended to use the lowest/oldest .NET Standard version which under which your library can execute to maximize compatibility.

In addition, add support for setting custom headers on a request-by-request basis. This is required because Looker requires the User-Agent header to be present when acquiring an embed session.
@ksjoberg ksjoberg requested a review from a team as a code owner March 12, 2024 22:37
@drstrangelooker drstrangelooker changed the base branch from main to netstandard-lib September 26, 2024 22:01
@drstrangelooker drstrangelooker merged commit f5405fe into looker-open-source:netstandard-lib Sep 26, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants