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

Configuration Name problem #3277

Closed
ayberkcal opened this issue Sep 8, 2018 · 2 comments
Closed

Configuration Name problem #3277

ayberkcal opened this issue Sep 8, 2018 · 2 comments

Comments

@ayberkcal
Copy link

nopCommerce version: 4.1 (not tested another versions)

Steps to reproduce the problem:

  • Create new Solution Configuration "Develop Plugin" named (or anothername).
  • Try debug project with new solution configuration.

Then problem will be occured.

Exception:
Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException: 'One or more compilation failures occurred:
h0h0hvmq.2yl(1,1): error CS8301: Invalid name for a preprocessing symbol; 'DEVELOP PLUGIN' is not a valid identifier'

Exception Detail:
Microsoft.AspNetCore.Mvc.Razor.Compilation.CompilationFailedException
HResult=0x80131500
Message=One or more compilation failures occurred:
h0h0hvmq.2yl(1,1): error CS8301: Invalid name for a preprocessing symbol; 'DEVELOP PLUGIN' is not a valid identifier
Source=Nop.Web.Framework
StackTrace:
at Nop.Web.Framework.Infrastructure.Extensions.ApplicationBuilderExtensions.<>c.b__1_1(HttpContext context) in C:\development\nopCommerce\src\Presentation\Nop.Web.Framework\Infrastructure\Extensions\ApplicationBuilderExtensions.cs:line 81
at Microsoft.AspNetCore.Diagnostics.ExceptionHandlerMiddleware.d__6.MoveNext()

Opinion:
I think some controls cannot handle configuration names different from "Debug" and "Release".

FYI

@skoshelev
Copy link
Contributor

Hi @ayberkcal. This is not problem of nopCommerce, I'm not sure, but problem is on the space between two words, I added a new config without space and it work. Please try to add config with name DevelopPlugin.

@skoshelev
Copy link
Contributor

Closed #3277

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants