Skip to content

fix: ".Uno" in project names results in build errors - #1771

Merged
ghuntley merged 3 commits into
masterfrom
dev/ghuntley/issue-28
Oct 10, 2019
Merged

ghuntley merged 3 commits into
masterfrom
dev/ghuntley/issue-28

Conversation

@ghuntley

@ghuntley ghuntley commented Oct 9, 2019 •

Copy link
Copy Markdown
Member

GitHub Issue (If applicable): Fixes #28

PR Type

What kind of change does this PR introduce?

  • Bugfix

What is the current behavior?

  1. File -> New "MyApp.Uno"
  2. Update to latest pre-release of Uno.* packages
  3. Building on WASM and Android results in
Error        CS0234        The type or namespace name 'Extensions' does not exist in the namespace 'MyApp.Uno' (are you missing an assembly reference?)        MyApp.Uno.Droid, MyApp.Uno.UWP, MyApp.Uno.Wasm, MyApp.Uno.iOS        C:\code\unoplatform\MyApp.Uno\MyApp.Uno\MyApp.Uno.Shared\App.xaml.cs        32        Active
  1. Adding global:: namespace to ConfigureFilters resolves
        public App()
        {
            ConfigureFilters(global::Uno.Extensions.LogExtensionPoint.AmbientLoggerFactory);

            this.InitializeComponent();
            this.Suspending += OnSuspending;
        }
  1. After adjusting Android, iOS and WebAsm compile fine.

PR Checklist

Please check if your PR fulfills the following requirements:

  • Tested code with current supported SDKs
  • Docs have been added/updated which fit documentation template (for bug fixes / features)
  • Unit Tests and/or UI Tests for the changes have been added (for bug fixes / features) (if applicable)
  • Wasm UI Tests are not showing unexpected any differences. Validate PR Screenshots Compare Test Run results.
  • Contains NO breaking changes
  • Updated the Release Notes
  • Associated with an issue (GitHub or internal)

Other information

@ghuntley ghuntley added area/solution-templates Categorizes an issue or PR as relevant to the solution template kind/bug Something isn't working kind/consumer-experience do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. labels Oct 9, 2019
@ghuntley
ghuntley marked this pull request as ready for review October 9, 2019 03:31
@ghuntley ghuntley removed the do-not-merge/work-in-progress Indicates that a PR should not merge because it is a work in progress. label Oct 9, 2019
@ghuntley

ghuntley commented Oct 9, 2019

Copy link
Copy Markdown
Member Author

/azp run

@ghuntley
ghuntley merged commit d8e862c into master Oct 10, 2019
@ghuntley
ghuntley deleted the dev/ghuntley/issue-28 branch October 10, 2019 01:29
@ghuntley
ghuntley restored the dev/ghuntley/issue-28 branch October 10, 2019 01:30
@mergify
mergify Bot deleted the dev/ghuntley/issue-28 branch October 10, 2019 01:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/solution-templates Categorizes an issue or PR as relevant to the solution template kind/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Folder in solution with name "Uno" causes namespace resolution errors

3 participants