Comments (4)
That's probably just an issue with VS2022.
After the last update I had to embed a library for timezone conversion (TZConvert, had it added via nuget) since I got the same error.
Odd thing is it worked just fine before updating and I didn't make any changes to this part.
from smartstore.
Most likely caused by missing ICompilationReferencesProvider
implementation for the host part. I'll have to take a closer look.
from smartstore.
I added <RazorCompileOnBuild>false</RazorCompileOnBuild>
in Smartstore.Web.csproj
problem solved!
<Project Sdk="Microsoft.NET.Sdk.Web">
<Import Project="..\Smartstore.Build\Smartstore.Common.props" />
<Import Project="..\Smartstore.Build\Smartstore.Razor.props" />
<Import Project="..\Smartstore.Build\Smartstore.Data.targets" />
<PropertyGroup>
<UserSecretsId>b35c0f56-dfa8-4120-b29b-a677578afcd1</UserSecretsId>
<CopyRefAssembliesToPublishDirectory>true</CopyRefAssembliesToPublishDirectory>
<RuntimeIdentifiers>win-x64; win-x86; linux-x64; osx-x64</RuntimeIdentifiers>
<ProvideApplicationPartFactoryAttributeTypeName>Smartstore.Engine.Modularity.ApplicationParts.HostRazorAssemblyPartFactory, Smartstore</ProvideApplicationPartFactoryAttributeTypeName>
<!--<PublishReadyToRun>true</PublishReadyToRun>-->
<RazorCompileOnBuild>false</RazorCompileOnBuild>
</PropertyGroup>
....
from smartstore.
RazorCompileOnBuild
is already defined in Smartstore.Razor.props and conditionally turns off razor build compilation. So your fix is not a solution, because runtime compilation is broken and you have just turned it off.
Side note: If you select the build configuration DebugNoRazorCompile
you will get the same result.
from smartstore.
Related Issues (20)
- Endless redirect loop on install HOT 4
- GDPR: Inform customer about pending orders in case of an anonymization request
- Grouped product: associated product list needs a title
- Display customer generic attributes in backend (like in Order / Attributes)
- Add option to display captcha on password forgotten form
- Export Publishing Profile: Email TO entry seems broken for some users/browser HOT 1
- Admin Dashboard: height of news panel should not affect the height of the widgets
- How does limited to customer roles work? HOT 2
- Add a display order to ShippingOption and sort CheckoutShippingMethodMapper
- Limit admins to stores HOT 1
- Implement connectors for Amazon and eBay
- Add a shipping rate computation method that calculates shipping costs based on rule builder rules HOT 1
- Trim Vat number
- GEO-Blocker needs a setting to determine the severity with which blocked requests should be logged (INFO or DEBUG)
- Implement setting: Upper limit for database size, which is checked regularly and sends a warning e-mail to the shop operator if it is exceeded.
- AddRazorRuntimeCompilation not working VS Version 17.10.1
- The İ characters required in the must character conversion list.
- Should we execute `PlaceOrderAsync` using an `IDbContextTransaction` to minimize the risk of duplicate orders?
- Show a warning when the server has IPv6 configuration
- Unhandled AccessDeniedException when editing customer roles HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from smartstore.