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

Document minimal VS installation for samples #794

Merged
merged 3 commits into from
Mar 11, 2021

Conversation

AntonLapounov
Copy link
Member

Reduce prerequisites to build and run samples on Windows. Alleviates MichalStrehovsky/SeeSharpSnake#2. I am keeping "CoreRT" references for consistency with other documentation.

Tested on Windows ARM64 with 1 GiB of RAM.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
Reduce prerequisites to build and run samples on Windows.  Alleviates MichalStrehovsky/SeeSharpSnake#2.  I am keeping "CoreRT" references for consistency with other documentation.

Tested on Windows ARM64 with 1 GiB of RAM.
@AntonLapounov AntonLapounov added the area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation label Mar 11, 2021
samples/prerequisites.md Outdated Show resolved Hide resolved
samples/prerequisites.md Outdated Show resolved Hide resolved
samples/prerequisites.md Outdated Show resolved Hide resolved
Copy link
Member

@jkotas jkotas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you!

@AntonLapounov AntonLapounov merged commit e230c9f into feature/NativeAOT Mar 11, 2021
@AntonLapounov AntonLapounov deleted the AntonLapounov-ReduceWinPrereq branch March 11, 2021 01:50
@MichalStrehovsky
Copy link
Member

Nice!

@AntonLapounov
Copy link
Member Author

It is noteworthy that with this minimal setup (~1.5 GB for VS plus ~2GB for SDK) one can successfully build not only NativeAOT samples but also do the normal build of NativeAOT and Runtime repos if we add -products * in a couple of vswhere commands:

for /f "usebackq tokens=*" %%i in (`%_VSWHERE% -latest -prerelease -property installationPath`) do set _VSCOMNTOOLS=%%i\Common7\Tools
Without that addition vswhere ignores Build Tools installations.

@jkotas
Copy link
Member

jkotas commented Mar 13, 2021

Sounds like something that may be worth sending a PR to dotnet/runtime for?

layomia pushed a commit to layomia/dotnet_runtimelab that referenced this pull request Mar 29, 2021
Fixes NameHeaderValue validation to be in line with RFC.

Resolves dotnet#1504
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area-NativeAOT-coreclr .NET runtime optimized for ahead of time compilation
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants