Comments (12)
@jon419 Appreciate that!
Going ahead and closing this.
from foundation.
Found the reason but don't know the cause. On the left a working version where the modules/_protected folder contains the actual ZIP on the right there's a whats looks like a Windows symbolic link to the package in Visual Studio. Trying to figure out why this is the case and what can be changed to configure/fix it. If you want to fix it today copy in the packages from your /.nuget/ folder and all works fine
from foundation.
I've seen this behaviour as well (more details - https://blog.tech-fellow.net/2021/09/03/how-to-pack-your-shell-module-for-optimizely-content-cloud/). This is related to how VS installs package and how scripts are executed at that time.
However after build package files were copied correctly (same happens on publish). But here - to launch the project you have to build it ;)
Weird indeed.
Tried dotnet build
?
from foundation.
I can see the modules in the right place in the bin folder but it still complains when starting so thought it was some Dojomojo going on. Still doesn't feel right having an effective symbolic link in VS to a Nuget package in the .nuget cache location though. It's only on a specific (new build) VM I noticed it.
from foundation.
Copying the /.nuget/ folder packages doesn't seem to work for me. Has anyone been able to figure this out yet?
Unable to find a module by assembly 'EPiServer.Forms, Version=5.2.0.0, Culture=neutral, PublicKeyToken=8fe83dea738b45b7' (Parameter 'moduleAssembly')
from foundation.
@joshuaonwezen You should not copy that folder, only the missing ZIP file.
P.S. Optimizely should fix the virtual path provider so that it will use sim links. The hack we are doing with modules is not the right approach to using NuGet packages.
from foundation.
I had the same issue. Copied the ZIP file and the app run, but Admin does not work - issues with Forms:
Has anyone successfully run the latest version?
from foundation.
I have the same issue which for now is solved my moving the zip file. Would love to get a fix for this.
from foundation.
I'm running into this issue on a mac using .net6 and can't seem to get this working.
Can someone who has created a temporary fix provide more specifics?
I have the zip file in the bin/Debug/net.60/modules/_protected folders for both EPiServer.Forms and EPiServer.Forms.UI. I even see them in finder so I'm not sure where the group is saying to copy them.
And obviously, I'm not sure why the error is happening anyway, as those packages are installed (even did a dotnet install for both).
Any help would be greatly appreciated - relatively urgent POC.
from foundation.
I figured out how to move the files...all good here.
from foundation.
I am no longer seeing this issue when building a new site. Would it be possible for someone else that previously encountered the problem to give it a quick test? Thanks!
from foundation.
@daniel-isaacs - I have confirmed on our end that the latest main branch is working without this error. We had it a couple weeks ago, but we are good now.
from foundation.
Related Issues (20)
- `UIHint` is highlighting red in Visual Studio HOT 1
- Search result ALL showing wrong count
- Unable to fetch Saved Credit Cards
- LinkItemCollection showing [Object, object]
- Bug / UI / Table headers colour for dark theme
- Could not find stored procedure 'FoundationConfiguration_List'. HOT 4
- When running on Azure sql, Invalid object name OpenIddictApplications HOT 1
- Site Settings not updated when running on multiple instances HOT 5
- published code breaking in IIS
- Ability to extending routing to include language-market stem
- Microsoft.Data.SqlClient.SqlException: 'Could not find stored procedure 'FoundationConfiguration_List'.' HOT 3
- New "Blog Item Page" Errors on Creation HOT 1
- Should be able to change the link color on a bread crumb block HOT 1
- Add language aware DidYouMean functionality HOT 1
- Azure support
- Readme and setup.cmd incorrect HOT 1
- Clean Foundation project fails to initialize HOT 3
- Configurable Facets have stopped working
- Commerce Catalog Fails to import on Linux OS
- Contribute
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 foundation.