-
Notifications
You must be signed in to change notification settings - Fork 1
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
Upgrade to net8-windows #11
base: main
Are you sure you want to change the base?
Changes from 4 commits
95f70e5
2c590c4
a3e6300
f6db97d
bc20239
486fcb9
311defa
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,12 @@ | ||
using System.Runtime.CompilerServices; | ||
using System.Reflection; | ||
using System.Runtime.InteropServices; | ||
using System.Runtime.Versioning; | ||
[assembly: AssemblyCompany("Open Systems Pharmacology Community")] | ||
[assembly: AssemblyProduct("OSPSuite.DataBinding")] | ||
[assembly: AssemblyCopyright("Copyright � 2002-2019 - Open Systems Pharmacology Community")] | ||
[assembly: ComVisible(false)] | ||
[assembly: AssemblyVersion("1.0.0.0")] | ||
[assembly: AssemblyFileVersion("1.0.0.0")] | ||
[assembly: InternalsVisibleTo("OSPSuite.DataBinding.Tests")] | ||
[assembly: SupportedOSPlatform("windows")] | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. We need this to tell VS that all assemblies are targeting windows only, otherwise there is a lot of warnings generated. |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
configuration: Debug | ||
image: Visual Studio 2019 | ||
image: Visual Studio 2022 | ||
|
||
environment: | ||
app_version: '3.0.0' | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. the csproj files are upgraded by right click, then select Upgrade. There's a few confirmations etc, but it's automatic. You just have to pick the target. Then you have to go back and put |
This file was deleted.
This file was deleted.
This file was deleted.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
This file was deleted.
This file was deleted.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
using System; | ||
using System.Windows.Forms; | ||
using FakeItEasy; | ||
using OSPSuite.BDDHelper; | ||
using OSPSuite.BDDHelper.Extensions; | ||
|
@@ -22,7 +23,8 @@ protected override void Context() | |
A.CallTo(() => _elementToValidate.Source).Returns(_source); | ||
A.CallTo(() => _elementToValidate.PropertyName).Returns("FirstName"); | ||
A.CallTo(() => _elementToValidate.GetValueFromControl()).Returns("Toto"); | ||
_elementToValidate.ParentBinder = _screenBinder; | ||
A.CallTo(() => _elementToValidate.ParentBinder).Returns(_screenBinder); | ||
A.CallTo(() => _elementToValidate.Control).Returns(new Label()); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. That was the line needed to eliminate stack overflow exception. Looks like it was related to tests, not to the code itself. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Appveyor still not running any tests though |
||
|
||
_validationEngine = A.Fake<IValidationEngine>(); | ||
sut = new ElementBinderValidator<IAnInterface, string>(_validationEngine); | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor issue: could change the copyright to ... 2002-2024...