Skip to content

Conversation

@acoates-ms
Copy link
Contributor

@acoates-ms acoates-ms commented Apr 14, 2020

…ojects

Also moving publish to be nightly instead of on every push.

Closes #4464

Microsoft Reviewers: Open in CodeFlow

@acoates-ms acoates-ms requested a review from a team as a code owner April 14, 2020 19:59
let localNuget = execSync('where nuget')
.toString()
.trim();
// Ensure the local nuget exe is at least version 4.6
Copy link
Member

Choose a reason for hiding this comment

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

what is it about 4.6? maybe clarify in the comment?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I was duplicating various things we've had with out CI loops requiring newer versions of nuget. But looking through it, that might be specific to azure dev ops, and not apply to consumers.

There is also a requirement to have a new enough version to support variables during publish. But again that might not be needed. I'll remove the version check for now.

`${path.resolve(__dirname, 'windows').replace(/[/\\]/g, '/')}.*`,
),
// This prevents "react-native run-windows" from hitting: EBUSY: resource busy or locked, open msbuild.ProjectImports.zip
new RegExp(
Copy link
Contributor

Choose a reason for hiding this comment

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

How hard do you think it would be to generally avoid putting build files in a place where metro will try to read them?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I have no idea what controls the location of msbuild.ProjectImports.zip. If someone does, then I would agree.

@acoates-ms acoates-ms added the AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity) label Apr 16, 2020
@ghost
Copy link

ghost commented Apr 16, 2020

Hello @acoates-ms!

Because this pull request has the AutoMerge label, I will be glad to assist with helping to merge this pull request once all check-in policies pass.

p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (@msftbot) and give me an instruction to get started! Learn more here.

@ghost ghost merged commit 83f6067 into microsoft:master Apr 16, 2020
@acoates-ms acoates-ms deleted the moreclitest branch April 16, 2020 03:32
asklar pushed a commit to asklar/react-native-windows that referenced this pull request Apr 19, 2020
microsoft#4604)

* Use more of the CLI rather than custom build steps to validate new projects

* Switch master to only publish nightly

* syntax

* syntax

* typo

* Test

* test

* syntax

* fix cwd

* Add msbuild.ProjectImports.zip to default blacklist to avoid metro error on run-windows

* Change files

* Use a local version of nuget if available

* review feedback

* put private nuget package where nuget will find it

* Another attempt to get cli to pick up private nuget

* syntax

* typo
This pull request was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

AutoMerge Causes a PR to be automatically merged once all requirements are passed (label drives bot activity)

Projects

None yet

Development

Successfully merging this pull request may close these issues.

react-native init task should use run-windows

3 participants