Comments (6)
If the project builds then the proper assemblies are available at build time, if it does not run then this is an issue with the environment in which you're attempting to run it. You should verify that the assemblies required to build are deployed to the environment on which you intend to run. If you're running in IIS, make sure that the target framework version (.Net v2 or v4) matches for whichever you've compiled against.
This issue will be marked as "wontfix" since it's a deployment issue and not a project issue.
from oneall.
see original error:
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0012: The type 'System.Web.Mvc.MvcHtmlString' is defined in an assembly that is not referenced. You must add a reference to assembly 'System.Web.Mvc, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35'.
Source Error:
Line 1: <%@ Page Title="Log In" Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" CodeBehind="Login.aspx.cs" Inherits="OneAll.ASPNET.Account.Login" %>
Line 2: <asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
Line 3: <%= Page.OneAllHeaderScript() %>
Line 4: /asp:Content
Line 5: <asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
Source File: c:\Users\Administrator\Downloads\OneAll-master\OneAll-master\Demo\Account\Login.aspx Line: 3
from oneall.
Based on this message, you’re trying to use the MVC library in an ASPX (non-MVC) site. There are three different CSPROJ (Projects), each one results in a library for a different scenario. If you’re going to use the library in an ASPX (non-MVC) site then you need to use the non-MVC library (OneAll.ASPNET.csproj) and still be mindful of matching .Net Framework versions.
from oneall.
following the instruction above, this is what I get
[OneAll Social Login] To enforce the security of our services we require each domain to be whitelisted. Please click here to open your security settings and whitelist the domain localhost. Reload this page afterwards.
I have removed the MVC class project since i am using asp.net
I have added my domain . and i have also added local host since I am testing off my local box. but still get the error
from oneall.
You'll need to contact OneAll directly as that us a response from their server. If you've got an undesirable response from their server you'll need to seek their support.
Sent from a mobile device
From: antukidemmailto:[email protected]
Sent: ý12/ý29/ý2013 11:43 AM
To: DerikPal/OneAllmailto:[email protected]
Cc: Derik J. Palacinomailto:[email protected]
Subject: Re: [OneAll] CS0012: The type 'System.Web.Mvc.MvcHtmlString' is defined in an assembly that is not referenced (#2)
following the instruction above, this is what I get
[OneAll Social Login] To enforce the security of our services we require each domain to be whitelisted. Please click here to open your security settings and whitelist the domain localhost. Reload this page afterwards.
I have added my domain . and i have also added local host since I am testing off my local box. but still get the error
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/2#issuecomment-31321370.
from oneall.
it is working now.
Many thanks
from oneall.
Related Issues (10)
- CS0012: The type 'System.Web.Mvc.MvcHtmlString' is defined in an assembly that is not referenced
- Can not pull twitter users email HOT 2
- Access friends list through oneall HOT 1
- OneAll API sample for ASP.NET MVC2 HOT 5
- Adpat to ASP.NET Identity HOT 1
- oneAllUser.Identities.Identity is always null HOT 3
- Facebook ID is incorrect
- Full CHM documentation is missing !!! HOT 1
- sharing a post to facebook HOT 1
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 oneall.