Nevron Forum
Back
Login
Register
Login
Register
Home
»
Nevron Open Vision for NET
»
General Discussion
»
Trying to start a Silverlight Application
Trying to start a Silverlight Application
Post Reply
Trying to start a Silverlight Application
View
Flat Ascending
Flat Descending
Threaded
Options
Subscribe to topic
Print This Topic
Goto Topics Forum
Author
Message
John Hill
John Hill
posted 10 Years Ago
ANSWER
Topic Details
Group: Forum Members
Posts: 2,
Visits: 14
In the documentation it says.
Installing NOV for Silverlight
1. Create a new Silverlight project in Visual Studio
From File Menu - Choose New Project
Select the Visual C# - Silverlight Application Template
Click OK
You need to target Silverlight 5.
Note Box
This step is not mandatory, because you can integrate NOV in an already existing Silverlight project. It is performed just for the purpose of making a complete installation scenario.
2. Reference the NOV Assemblies
Ensure that your application references the following NOV dlls:
Nevron.Nov.Presentation.SL.dll
- core NOV assembly for the Silverlight runtime.
Nevron.Nov.Host.Silverlight.dll
- presentation host for Silverlight.
Reference other NOV assemblies for Silverlight if you need to (have the SL suffix).
3. Initialize the NOV Application
Open the App.xaml.cs file and ensure that it it has the following code:
Installing NOV for Silverlight
using System;
using System.Windows;
using Nevron.Windows;
namespace SilverlightApplication1
{
public partial class App : Application
{
public App()
{
this.Startup += this.Application_Startup;
this.Exit += this.Application_Exit;
this.UnhandledException += this.Application_UnhandledException;
InitializeComponent();
}
private void Application_Startup(object sender, StartupEventArgs e)
{
// Apply license to the application here.
NLicenseManager.Instance.SetLicense(new NLicense("LICENSE KEY"));
NLicenseManager.Instance.LockLicense = true;
NModule[] modules = new NModule[]
{
// TODO: Create modules here
};
// install Nevron Open Vision for Silverlight
NSLApplicationInstaller.Install(modules);
This last line gives me an error i cant get past.
Else where i found another that said.
start a normal Silverlight application and drag
"NNovRichTextViewControl"
onto the page but this just gives me an
Error Dialog
Exception of type 'MS.Internal.Validate+ValidationFailure' was thrown,
a search on the internet and this forum has not given me any results. Can Anyone Help?
Tags
Silverlight OpenVision
Reply
Like
0
Nevron Support
Nevron Support
posted 10 Years Ago
ANSWER
Post Details
Group: Administrators
Posts: 3.1K,
Visits: 4.2K
There is an error in the documentation. The NSLApplicationInstaller is renamed to NNovApplicationInstaller. Just replace NSLApplicationInstaller with NNovApplicationInstaller.
Best Regards,
Nevron Support Team
Reply
Like
0
GO
Merge Selected
Merge into selected topic...
Merge into merge target...
Merge into a specific topic ID...
Open Merge
Post Reply
Similar Topics
Post Quoted Reply
Reading This Topic
Login
Login
Remember Me
Reset Password
Resend Validation Email
Login
Explore
Messages
Mentions
Search