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

Show warning/info at compile time when [DeploymentItem] attribute used for .NetCore or UWP project #86

Closed
jayaranigarg opened this issue Feb 22, 2017 · 1 comment

Comments

@jayaranigarg
Copy link
Member

Description

Currently user have no way to figure out that [DeploymentItem] is not supported for UWP/.Net Core projects. Adding a meaningful warning/information message at compile time can save both of our time and developer's time.

Steps to reproduce

  1. Create a UWP test project.
  2. Add [DeploymentItem] attribute on top of a testmethod
  3. Build and run tests

Expected behavior

Mentioned item should get copied over to deployment directory

Actual behavior

No item is copied.

@jayaranigarg jayaranigarg changed the title Show warning/info at compile time when [DeploymentItem] attribute used for .NetCore and UWP project Show warning/info at compile time when [DeploymentItem] attribute used for .NetCore or UWP project Feb 22, 2017
@AbhitejJohn
Copy link
Contributor

Removed this from the UWP platform since deployment in UWP to another folder outside of the appx is a security concern and is not supported. Leaving this as a no-op in the .Net Core and filed #96 to track adding this support.

singhsarab added a commit to singhsarab/testfx that referenced this issue Apr 8, 2019
Changes for enabling debugging for core.
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

No branches or pull requests

2 participants